home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / amiga / sipp.lha / sipp / include / sipp_pixmap.h < prev    next >
C/C++ Source or Header  |  1993-03-13  |  1KB  |  49 lines

  1. /**
  2.  ** sipp - SImple Polygon Processor
  3.  **
  4.  **  A general 3d graphic package
  5.  **
  6.  **  Copyright Equivalent Software HB  1992
  7.  **
  8.  ** This program is free software; you can redistribute it and/or modify
  9.  ** it under the terms of the GNU General Public License as published by
  10.  ** the Free Software Foundation; either version 1, or any later version.
  11.  ** This program is distributed in the hope that it will be useful,
  12.  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  ** GNU General Public License for more details.
  15.  ** You can receive a copy of the GNU General Public License from the
  16.  ** Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17.  **/
  18.  
  19. /**
  20.  ** sipp_pixmap.h - Interface to sipp_pixmap.c.
  21.  **/
  22.  
  23. #ifndef SIPP_PIXMAP_H
  24. #define SIPP_PIXMAP_H
  25.  
  26.  
  27. #include <sys/types.h>
  28.  
  29. /* The generic pixel setter usable for any pixmap type. */
  30. typedef void   (*Pixmap_set_pixel_func)();
  31.  
  32.  
  33. /* The SIPP pixmap and its associated functions. */
  34.  
  35. typedef struct {
  36.     int       width;
  37.     int       height;
  38.     u_char  * buffer;
  39. } Sipp_pixmap;
  40.  
  41.  
  42. extern Sipp_pixmap  * sipp_pixmap_create();
  43. extern void           sipp_pixmap_destruct();
  44. extern void           sipp_pixmap_set_pixel();
  45. extern void           sipp_pixmap_write();
  46.  
  47.  
  48. #endif /* SIPP_PIXMAP_H */
  49.